package com.matt.domain;

import com.matt.commons.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Describle This Class Is 模板关联园区
 * @Author ZengMin
 * @Date 2018/12/19 11:54
 * @Company Matt
 */
@Entity
@Table(name = "teaching_templete_area")
@Data
@EqualsAndHashCode(callSuper = true)
public class TeachingTempleteArea extends Model {

    @Column(columnDefinition = "datetime COMMENT '创建时间'")
    private Date created = new Date();

    @Column(columnDefinition = "varchar(32) COMMENT '模板Id'")
    private String templeteId;

    @Column(columnDefinition = "varchar(32) COMMENT '园区Id'")
    private String areaId ;

    @Column(columnDefinition = "varchar(20) COMMENT '园区名称'")
    private String areaName ;

}
